PATCH
/
public
/
v1
/
toppie
/
campaigns
/
{campaign-id}
{
  "accountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "adFormat": "banner",
  "bidCount": 123,
  "budget": 123,
  "budgetPeriod": "daily",
  "chargeType": "CPM",
  "createdAt": "2023-11-07T05:31:56Z",
  "currencyCode": "USD",
  "endDate": "2023-11-07T05:31:56Z",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "isActive": true,
  "name": "<string>",
  "startDate": "2023-11-07T05:31:56Z",
  "targetRoas": 10.25
}

Authorizations

Authorization
string
header
required

A valid API key generated in Topsort's UI.

Path Parameters

campaign-id
string<uuid>
required

The ID of the campaign.

Body

application/json

Agency campaign fields to be updated

Response

200
application/json

Successful Response

Represents a public version of an agency campaign, used in API responses.